package com.ostrich.a2104shopping.ui.user;

import com.ostrich.lib_common.net.BaseResponseEntity;
import com.ostrich.lib_common.net.RetrofitManager;

import androidx.lifecycle.LiveData;
import retrofit2.http.Body;

/**
 * @Author : yaotianxue
 * @Time : On 2023/10/7 09:24
 * @Description : UserRepository
 */
public class UserRepository {
    private UserApi mUserApi;
    public UserRepository() {
        mUserApi = RetrofitManager.getInstance().getRetrofit().create(UserApi.class);
    }

    public LiveData<BaseResponseEntity<UserEntity>> loginjson(RequestEntity requestEntity){
        return mUserApi.loginjson(requestEntity);
    }


}
